
#include "diode.h"

/**
 * @brief  单色发光二极管驱动
 * @param  None
 * @retval None
 */
void diodeInit(void)
{
	stc_gpio_init_t stcGpioInit;

	(void)GPIO_StructInit(&stcGpioInit);
	stcGpioInit.u16PinState = PIN_STAT_SET;
	stcGpioInit.u16PinDir = PIN_DIR_OUT;
	(void)GPIO_Init(DIODE_PORT, DIODE_PIN, &stcGpioInit);
}
